﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace ConsumeSys.Controllers
{
    [IsLogin]
    public class HomeController : BaseController
    {
        /// <summary>
        /// 用户业务逻辑
        /// </summary>
        private ConsumeSys.BLL.UserBLL b_UserBLL = new BLL.UserBLL();

        /// <summary>
        /// 首页
        /// </summary>
        /// <returns></returns>
        public ActionResult Index()
        {
            Model.User user = b_UserBLL.GetLoginUser();
            ViewData["user"] = user;

            return View();
        }

    }
}
